<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Environment - Documentation</title>

    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

    <link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>

<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
  <div class="navicon"></div>
</label>

<label for="nav-trigger" class="overlay"></label>

<nav class="nav">
    <h2><a href="index.html">Home</a></h2><h3>Events</h3><ul><li><a href="Apple.html#event:beEaten">beEaten</a></li><li><a href="Environment.html#event:beforeDestroy">beforeDestroy</a></li></ul><h3>Classes</h3><ul><li><a href="Alive.html">Alive</a><ul class='methods'><li data-type='method'><a href="Alive.html#survive">survive</a></li></ul></li><li><a href="Apple.html">Apple</a><ul class='methods'><li data-type='method'><a href="Apple.html#survive">survive</a></li></ul></li><li><a href="Energy.html">Energy</a></li><li><a href="Environment.html">Environment</a><ul class='methods'><li data-type='method'><a href="Environment.html#start">start</a></li></ul></li><li><a href="Tree.html">Tree</a><ul class='methods'><li data-type='method'><a href="Tree.html#crop">crop</a></li><li data-type='method'><a href="Tree.html#survive">survive</a></li></ul></li></ul>
</nav>

<div id="main">
    
    <h1 class="page-title">Environment</h1>
    

    <!--container.tmpl-->





<section>



<header data-tmpl="container.tmpl">
    
        <h2>
        Environment
        </h2>
        
            <div class="lead"><p>Lorem ipsum dolor sit amet, <a href="Energy.html">Energy</a> consectetur adipiscing elit. Vestibulum condimentum tempus diam. Ut eget ultricies metus, vitae ornare turpis. Vivamus lectus metus, euismod quis tortor quis, pretium semper massa. Nulla mauris sapien, faucibus vitae metus et, ultrices fringilla sem. Sed laoreet tempor odio, elementum scelerisque nunc aliquet quis.</p></div>
        
    

    
      <div class="bs-callout bs-callout-default">
        <h5>Members</h5>
        <br />
        <dl class="dl-horizontal methods-members">
        <dt>Fields &amp; Properties</dt><dd><ul>
            <li><a href="#livingThings">livingThings</a></li>
            
            <li><a href="#name">name</a></li>
            </ul></dd><dt>Methods</dt><dd><ul>
            <li><a href="#start">start</a></li>
            </ul></dd></dl></div>
</header>

<article>
    <div class="container-overview">
    
        <!--method.tmpl-->
<div class="method-details">





    
    <h3 class="constructor">Constructor</h3>
    

    
      <!--source-link.tmpl-->


<div class="pull-right source-link-container">
  <code class="source-link" data-tmpl="method-tmpl(1)">
    <i class="fa fa-file-o"></i>
    <a href="Environment.js.html">Environment.js</a>:<a href="Environment.js.html#line6">6</a>
  </code>
</div>

    

    <h4 class="name" id="Environment">
      <a href="#params-Environment"><span class="type-signature"></span>new Environment</a><span class="signature">()</span><span class="type-signature"></span>

    </h4>

    




















<div class="collapse_" id="methodCollapse-Environment">

  

  

<!-- details.tmpl -->








<dl class="dl-horizontal">

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


























</div>

<!--
<pre>
{"comment":"/**\n * Lorem ipsum dolor sit amet, <a href="Energy.html">Energy</a> consectetur adipiscing elit. Vestibulum condimentum tempus diam. Ut eget ultricies metus, vitae ornare turpis. Vivamus lectus metus, euismod quis tortor quis, pretium semper massa. Nulla mauris sapien, faucibus vitae metus et, ultrices fringilla sem. Sed laoreet tempor odio, elementum scelerisque nunc aliquet quis.\n *\n * @class\n */","meta":{"range":[384,759],"filename":"Environment.js","lineno":6,"columnno":0,"path":"/home/sg/git/jsdoc-templates-demo/src","code":{"id":"astnode100000063","name":"Environment","type":"ClassDeclaration","paramnames":[]},"shortpath":"Environment.js"},"classdesc":"<p>Lorem ipsum dolor sit amet, <a href="Energy.html">Energy</a> consectetur adipiscing elit. Vestibulum condimentum tempus diam. Ut eget ultricies metus, vitae ornare turpis. Vivamus lectus metus, euismod quis tortor quis, pretium semper massa. Nulla mauris sapien, faucibus vitae metus et, ultrices fringilla sem. Sed laoreet tempor odio, elementum scelerisque nunc aliquet quis.</p>","kind":"class","name":"Environment","longname":"Environment","scope":"global","params":[],"___id":"T000003R000005","___s":true,"attribs":"<span class=\"type-signature\"></span>","id":"Environment","signature":"<span class=\"signature\">()</span><span class=\"type-signature\"></span>","ancestors":[]}
</pre>
-->
</div>

    
    </div>

    

    

    

     

    

    
        <h3 class="subsection-title">Members</h3>

        
            <!--members.tmpl-->
<div class="member-details">




  <!--source-link.tmpl-->


<div class="pull-right source-link-container">
  <code class="source-link" data-tmpl="method-tmpl(1)">
    <i class="fa fa-file-o"></i>
    <a href="Environment.js.html">Environment.js</a>:<a href="Environment.js.html#line14">14</a>
  </code>
</div>



<h4 class="name" id="livingThings">
  <span class="type-signature"></span>livingThings<span class="type-signature"> :Array.&lt;<a href="Alive.html">Alive</a>></span>
</h4>




<div class="description">
    <p>All the living things in this environment</p>
</div>


<div>

<!-- details.tmpl -->








<dl class="dl-horizontal">

    

    

    

    

    

    

    

    

    

    

    

    
</dl>











</div>

</div>

        
            <!--members.tmpl-->
<div class="member-details">




  <!--source-link.tmpl-->


<div class="pull-right source-link-container">
  <code class="source-link" data-tmpl="method-tmpl(1)">
    <i class="fa fa-file-o"></i>
    <a href="Environment.js.html">Environment.js</a>:<a href="Environment.js.html#line20">20</a>
  </code>
</div>



<h4 class="name" id="name">
  <span class="type-signature"></span>name<span class="type-signature"> :String</span>
</h4>




<div class="description">
    <p>The name of this environment</p>
</div>


<div>

<!-- details.tmpl -->








<dl class="dl-horizontal">

    

    

    

    

    

    

    

    

    

    

    

    
</dl>











</div>

</div>

        
    

    
        <h3 class="subsection-title">Methods</h3>

        
            <!--method.tmpl-->
<div class="method-details">



  <!--source-link.tmpl-->


<div class="pull-right source-link-container">
  <code class="source-link" data-tmpl="method-tmpl(1)">
    <i class="fa fa-file-o"></i>
    <a href="Environment.js.html">Environment.js</a>:<a href="Environment.js.html#line27">27</a>
  </code>
</div>




    

    

    <h4 class="name" id="start">
      <a href="#params-start"><span class="type-signature"></span>start</a><span class="signature">(config)</span><span class="type-signature"></span>

    </h4>

    













<div class="description">
    <p>Vestibulum condimentum tempus <a href="Alive.html">Alive</a> diam.</p>
</div>








<div class="collapse_" id="methodCollapse-start">

  

  

<!-- details.tmpl -->








<dl class="dl-horizontal">

    

    

    

    

    

    

    

    

    

    

    

    
</dl>








  <div id="params-start" class="bs-callout bs-callout-primary">
    <h5>Parameters</h5>
    <!--params.tmpl-->


<table class="table table-bordered">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>config</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="global.html#EnvironmentConfiguration">EnvironmentConfiguration</a></span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    
    </tbody>
</table>

  </div>



















</div>

<!--
<pre>
{"comment":"/**\n     * Vestibulum condimentum tempus <a href="Alive.html">Alive</a> diam.\n\t * @param {EnvironmentConfiguration} config\n\t */","meta":{"range":[738,757],"filename":"Environment.js","lineno":27,"columnno":1,"path":"/home/sg/git/jsdoc-templates-demo/src","code":{"id":"astnode100000082","name":"Environment#start","type":"MethodDefinition","paramnames":["config"]},"vars":{"":null},"shortpath":"Environment.js"},"description":"<p>Vestibulum condimentum tempus <a href="Alive.html">Alive</a> diam.</p>","params":[{"type":{"names":["EnvironmentConfiguration"]},"name":"config"}],"name":"start","longname":"Environment#start","kind":"function","memberof":"Environment","scope":"instance","___id":"T000002R000021","___s":true,"attribs":"<span class=\"type-signature\"></span>","id":"start","signature":"<span class=\"signature\">(config)</span><span class=\"type-signature\"></span>","ancestors":["<a href=\"Environment.html\">Environment</a>#"]}
</pre>
-->
</div>

        
    

    

    
        <h3 class="subsection-title">Events</h3>

        
            <!--method.tmpl-->
<div class="method-details">



  <!--source-link.tmpl-->


<div class="pull-right source-link-container">
  <code class="source-link" data-tmpl="method-tmpl(1)">
    <i class="fa fa-file-o"></i>
    <a href="Environment.js.html">Environment.js</a>:<a href="Environment.js.html#line38">38</a>
  </code>
</div>




    

    

    <h4 class="name" id="event:beforeDestroy">
      <a href="#params-beforeDestroy">beforeDestroy</a>

    </h4>

    













<div class="description">
    <p>Lorem ipsum dolor sit amet, <a href="Energy.html">Energy</a> consectetur adipiscing el</p>
</div>








<div class="collapse_" id="methodCollapse-beforeDestroy">

  
      <h5>Type:</h5>
      <ul>
          <li>
              
<span class="param-type"><a href="Energy.html">Energy</a></span>


          </li>
      </ul>
  

  

<!-- details.tmpl -->



  <!--source-link.tmpl-->


<div class="pull-right source-link-container">
  <code class="source-link" data-tmpl="method-tmpl(1)">
    <i class="fa fa-file-o"></i>
    <a href="Environment.js.html">Environment.js</a>:<a href="Environment.js.html#line38">38</a>
  </code>
</div>





    <h5 class="subsection-title">Properties:</h5>

    

<table class="props">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>foo</code></td>
            

            <td class="type">
            
                
<span class="param-type">boolean</span>


            
            </td>

            

            

            <td class="description last"><p>aalks djlas</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="dl-horizontal">

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


























</div>

<!--
<pre>
{"comment":"/**\n * Lorem ipsum dolor sit amet, <a href="Energy.html">Energy</a> consectetur adipiscing el\n * @event Environment#beforeDestroy\n * @type {Energy}\n * @property {boolean} foo aalks djlas\n */","meta":{"filename":"Environment.js","lineno":38,"columnno":1,"path":"/home/sg/git/jsdoc-templates-demo/src","code":{},"shortpath":"Environment.js"},"description":"<p>Lorem ipsum dolor sit amet, <a href="Energy.html">Energy</a> consectetur adipiscing el</p>","kind":"event","name":"beforeDestroy","type":{"names":["Energy"]},"properties":[{"type":{"names":["boolean"]},"description":"<p>aalks djlas</p>","name":"foo"}],"memberof":"Environment","longname":"Environment#event:beforeDestroy","scope":"instance","___id":"T000002R000016","___s":true,"attribs":"","id":"event:beforeDestroy","ancestors":["<a href=\"Environment.html\">Environment</a>#"]}
</pre>
-->
</div>

        
    
</article>

</section>




</div>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Oct 31 2017 10:48:56 GMT-0300 (-03) using the LOKE theme.
</footer>

<script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script>
</body>
</html>